package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.AccountB;

import java.math.BigDecimal;

public interface AccountBService extends IService<AccountB> {

    int frozenRmbAmount(int userId, BigDecimal rmb);

    void commitRmbToRmb(int userId, BigDecimal rmb);

    void cancelRmbToRmb(int userId, BigDecimal rmb);

    AccountB getByUserId(int userId);
}
